//文字模糊
@mixin text-shadow($size: 1) {
  text-shadow: 0 0 $size + px #000;
  color: transparent;
}
//文字溢出隐藏
@mixin text-overflow($paragraph: 1) {
  text-overflow: -o-ellipsis-lastline;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: $paragraph;
  line-clamp: $paragraph;
  -webkit-box-orient: vertical;
}
//flex
@mixin flex($jc, $ai, $fd) {
  display: flex;
  @if ($jc==around) {
    justify-content: space-around;
  }
  @if ($jc==between) {
    justify-content: space-between;
  }
  @if ($jc==evenly) {
    justify-content: space-evenly;
  }
  @if ($jc==center) {
    justify-content: center;
  }
  @if ($jc==end) {
    justify-content: flex-end;
  }
  @if ($jc==start) {
    justify-content: flex-start;
  }

  @if ($ai==start) {
    align-items: flex-start;
  }
  @if ($ai==center) {
    align-items: center;
  }
  @if ($ai==end) {
    align-items: flex-end;
  }
  @if ($fd==column) {
    flex-direction: column;
  }
  @if ($fd==row) {
    flex-direction: row;
  }
  @if ($fd==row-reverse) {
    flex-direction: row-reverse;
  }
  @if ($fd==column-reverse) {
    flex-direction: column-reverse;
  }
}
